package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Bookmaker;
import org.hxyjs.entity.BookmakerExample;
import org.hxyjs.entity.Bookmaker;

@Mapper
public interface BookmakerMapper {
    long countByExample(BookmakerExample example);

    int deleteByExample(BookmakerExample example);

    int deleteByPrimaryKey(String bno);

    int insert(Bookmaker record);

    int insertSelective(Bookmaker record);

    List<Bookmaker> selectByExample(BookmakerExample example);

    Bookmaker selectByPrimaryKey(String bno);

    List<Bookmaker> getBookmakerByPage(Map<String, Object> map);

    String getMaxBno();

    int updateByExampleSelective(@Param("record") Bookmaker record, @Param("example") BookmakerExample example);

    int updateByExample(@Param("record") Bookmaker record, @Param("example") BookmakerExample example);

    int updateByPrimaryKeySelective(Bookmaker record);

    int updateByPrimaryKey(Bookmaker record);
}